package com.robertbak.geolocation.interfaces
{
	[Bindable]
	/**
	 * Currently only available in Chrome. Holds the address of the location.
	 * @see http://code.google.com/intl/pl-PL/apis/gears/api_geolocation.html#address
	 **/
	public interface IAddress
	{
		/**
		 * The building's street number.
		 * @return 
		 */
		function get streetNumber():String;
		
		/**
		 * Street name.
		 * @return 
		 */
		function get street():String;
		
		/**
		 * Premises, e.g. building name.
		 * @return 
		 */
		function get premises():String;
		
		/**
		 * City name.
		 * @return 
		 */
		function get city():String;
		/**
		 * County name.
		 * @return 
		 */
		function get county():String;
		
		/**
		 * Region, e.g. a state in the US.
		 * @return 
		 */
		function get region():String;
		
		/**
		 * Country.
		 * @return 
		 */
		function get country():String;
		
		/**
		 * Country code (ISO 3166-1).
		 * @see http://en.wikipedia.org/wiki/ISO_3166-1
		 * @return 
		 */
		function get countryCode():String;
		
		/**
		 * Postal code. This is the zip code in the US and postcode in the UK.
		 * @return 
		 */
		function get postalCode():String;
	}
}